import request from "@/utils/request"
//获取轮播图数据的接口
export const homeGetCarouselData = (params = {})=> {
  const {distributionSite = '1'} = params
  return request.get('home/banner',{params:{distributionSite}})
}

//获取新鲜好物分栏数据的接口
export const homeGetNewsData = ()=>request.get('/home/new')

//获取人气推荐分栏数据的接口
export const homeGetHotsData = ()=>request.get('/home/hot')

//获取产品列表数据
export const homeGetProductsData = ()=> request.get('home/goods')

